package com.qumitech.visualnovel.datasource.app;

import com.qumitech.visualnovel.model.dao.app.AccompanyAppraiseDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface AccompanyAppraiseDOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AccompanyAppraiseDO record);

    int insertSelective(AccompanyAppraiseDO record);

    AccompanyAppraiseDO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AccompanyAppraiseDO record);

    int updateByPrimaryKey(AccompanyAppraiseDO record);

    Integer getReviewAccompanyAppraiseCount(@Param("startTime") String startTime,
                                            @Param("endTime") String endTime);
}
